package com.pms.init.base;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.espirit.eap.manager.ModelBuilderSupport;
import com.espirit.eap.manager.WFStatusManager;
import com.espirit.eap.manager.workflow.WFStatus;
@Component
public class WFStatusBuilder extends ModelBuilderSupport {
	
	@Resource
	WFStatusManager wfStatusManager;
	
	@Override
	public boolean init() {
		return super.setClass(WFStatus.class, "WFStatus", "WFStatus") ;
	}
	
	@Override
	protected void initDefaultData() {
		super.initDefaultData();
		wfStatusManager.initData();
	}
	
}
